/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package aluno;

import index.ErroInternoException;
import java.io.Serializable;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author sabrina
 */
@Local
public interface RepositorioAluno extends Serializable{
    
    public void adicionarAluno (Aluno aluno) throws ErroInternoException, AlunoExistenteException;
    public void removerAluno (long id_aluno) throws ErroInternoException, AlunoInexistenteException;
    public Aluno buscarAluno (long id_aluno) throws ErroInternoException, AlunoInexistenteException;
    public void atualizarAluno (Aluno aluno) throws ErroInternoException, AlunoInexistenteException;
    public Aluno loginAluno(String matricula, String senha) throws ErroInternoException, AlunoInexistenteException;
    public List<Aluno> listaAluno (Aluno aluno) throws ErroInternoException;
}
    

